const request = function(path){
    let url='https://www.ehomespace.com/api/public/v1/' + path
    return new Promise(function(resolve,reject){
        mpvue.request({
            url:url,
            method:'get',
            success:(res) => {
                resolve(res)
            }
        })
    })
}
export default request